package com.rd.sys.dto.client.analysis;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.rd.sys.dto.client.data.Point2D;

public class AoiData {
    /**
     * 图形类型
     */
    @JsonProperty("type")
    private String type;

    /**
     * 绘制的layer名称
     */
    @JsonProperty("name")
    private String name;

    /**
     * 兴趣区昵称
     */
    @JsonProperty("showName")
    private String showName;

    /**
     * 画笔风格
     */
    @JsonProperty("strokeStyle")
    private String strokeStyle;

    /**
     * 画笔的粗细
     */
    @JsonProperty("strokeWidth")
    private int strokeWidth;

    /**
     * 填充风格
     */
    @JsonProperty("fillStyle")
    private String fillStyle;

    /**
     * 图形左上角x坐标
     */
    @JsonProperty("x")
    private double x;

    /**
     * 图形左上角y坐标
     */
    @JsonProperty("y")
    private double y;

    /**
     * 图形宽度
     */
    @JsonProperty("width")
    private int width;

    /**
     * 图形高度
     */
    @JsonProperty("height")
    private int height;

    /**
     * 绘制时画布的宽度
     */
    @JsonProperty("canvasWidth")
    private int canvasWidth;

    /**
     * 绘制时画布的高度
     */
    @JsonProperty("canvasHeight")
    private int canvasHeight;

    /**
     * 顶点集合(多边形时有效)
     */
    @JsonProperty("points")
    private List<Point2D> points;

    /**
     * 顶点的个数(多边形时有效)
     */
    @JsonProperty("poLength")
    private int poLength;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getShowName() {
        return showName;
    }

    public void setShowName(String showName) {
        this.showName = showName;
    }

    public String getStrokeStyle() {
        return strokeStyle;
    }

    public void setStrokeStyle(String strokeStyle) {
        this.strokeStyle = strokeStyle;
    }

    public int getStrokeWidth() {
        return strokeWidth;
    }

    public void setStrokeWidth(int strokeWidth) {
        this.strokeWidth = strokeWidth;
    }

    public String getFillStyle() {
        return fillStyle;
    }

    public void setFillStyle(String fillStyle) {
        this.fillStyle = fillStyle;
    }

    public double getX() {
        return x;
    }

    public void setX(double x) {
        this.x = x;
    }

    public double getY() {
        return y;
    }

    public void setY(double y) {
        this.y = y;
    }

    public int getWidth() {
        return width;
    }

    public void setWidth(int width) {
        this.width = width;
    }

    public int getCanvasWidth() {
        return canvasWidth;
    }

    public void setCanvasWidth(int canvasWidth) {
        this.canvasWidth = canvasWidth;
    }

    public int getCanvasHeight() {
        return canvasHeight;
    }

    public void setCanvasHeight(int canvasHeight) {
        this.canvasHeight = canvasHeight;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public List<Point2D> getPoints() {
        return points;
    }

    public void setPoints(List<Point2D> points) {
        this.points = points;
    }

    public int getPoLength() {
        return poLength;
    }

    public void setPoLength(int poLength) {
        this.poLength = poLength;
    }

}
